﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Example40
{
    class Program
    {
        static void Main(string[] args)
        {
            
            CRectangle recta = new CRectangle(3,4);
            CRectangle rectb = new CRectangle(5, 6);
            recta = rectb; //gan ket qua moi cho recta 
            Console.WriteLine("Recta:{0} ", recta.area());
            Console.WriteLine("Rectb:{0}", rectb.area());
            Console.ReadLine();

        }
    }
}
